package com.chrudgames.stayintouch;

import java.sql.Date;

public class Contact {
	 
    //private variables
    String _id;
    int _frequency;
    Date _last;
    String _name;
    String _phone_number;
    int _photo;
 
    // Empty constructor
    public Contact(){
 
    }
    // constructor
    public Contact(String id, int frequency, Date last, String name, String _phone_number, int photo){
        this._id = id;
        this._frequency = frequency;
        this._last = last;
        this._name = name;
        this._phone_number = _phone_number;
        this._photo = photo;
    }
 

    // getting ID
    public String getID(){
        return this._id;
    }
 
    // setting id
    public void setID(String id){
        this._id = id;
    }
 
   
    // getting frequency
    public int getFrequency(){
        return this._frequency;
    }
 
    // setting frequency
    public void setFrequency(int frequency){
        this._frequency = frequency;
    }
    
    // getting Last
    public Date getLast(){
        return this._last;
    }
 
    // setting Last
    public void setLast(Date last){
        this._last = last;
    }
    
    // getting name
    public String getName(){
        return this._name;
    }
 
    // setting name
    public void setName(String name){
        this._name = name;
    }
 
    // getting phone number
    public String getPhoneNumber(){
        return this._phone_number;
    }
 
    // setting phone number
    public void setPhoneNumber(String phone_number){
        this._phone_number = phone_number;
    }
    
 // getting photo
    public int getPhoto(){
        return this._photo;
    }
 
    // setting photo
    public void setPhoto(int photo){
        this._photo = photo; 
       
    }
}
